<?php

namespace App\Models;

use App\Models\Traits\BelongsToApplication;
use Dcat\Admin\Models\Administrator;
use Illuminate\Database\Eloquent\Relations\BelongsTo;

class VersionLog extends Model
{
    use BelongsToApplication;

    public function version(): BelongsTo
    {
        return $this->belongsTo(Version::class);
    }

    public function objectStorageService(): BelongsTo
    {
        return $this->belongsTo(ObjectStorageService::class);
    }

    public function admin(): BelongsTo
    {
        return $this->belongsTo(Administrator::class);
    }
}
